package com.yuyou.fn.tradingservice.entity;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

/**
 * 服务订单条目
 */
@TableName(value = "service_order_item")
public class ServiceOrderItem implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public static Example<ServiceOrderItem> createExample() {
        return new Example<ServiceOrderItem>(ServiceOrderItem.class);
    }

    /**
     * 订单条目ID
     */
    @TableId(value = "order_item_id")
    private Long orderItemId;

    /**
     * 订单ID
     */
    @TableField(value = "order_id")
    private Long orderId;

    /**
     * 目录ID
     */
    @TableField(value = "category_id")
    private Long categoryId;

    /**
     * 类别名称
     */
    @TableField(value = "category_name")
    private String categoryName;

    /**
     * 服务内容
     */
    private String content;

    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 金额
     */
    private BigDecimal price;

    /**
     * 状态 ：0-下单中，1-已付款，2-发货中/商家开始工作/买家使用资源，3-发货/服务确认/买家确认，4-退费，5-评价
     */
    private Integer status;

    /**
     * 创建日期
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新日期
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 商品服务id
     */
    @TableField(value = "product_id")
    private Long productId;

    /**
     * 商品服务名称
     */
    @TableField(value = "product_name")
    private String productName;

    @TableField(value = "image_url")
    private String imageUrl;

    /**
     * 分类类型
     */
    @TableField(value = "type")
    private Integer type;

	/**  */
	@TableField(value = "bus_team_id")
	private Long busTeamId;

	/** 业务组织名称 */
	@TableField(value = "bus_team_name")
	private String busTeamName;

	/**联系方式**/
	@TableField(value = "phone_no")
	private String phoneNo;

    /**
     * 具体要求
     **/
    @TableField(value = "requirement")
    private String requirement;

	@TableField(value = "sn")
	private String sn;

	@TableField(value = "start_date")
	private String startDate;

	@TableField(value = "end_date")
	private String endDate;

	@TableField(value = "start_time")
	private String startTime;

	@TableField(value = "end_time")
	private String endTime;

    /**
     * 租赁时长
     */
    @TableField(value = "rent_span")
    private BigDecimal rentSpan;

    @TableField(value = "unit_price")
    private BigDecimal unitPrice;

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Long getOrderItemId() {
        return this.orderItemId;
    }

    public void setOrderItemId(Long orderItemId) {
        this.orderItemId = orderItemId;
    }

    public Long getOrderId() {
        return this.orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getCategoryId() {
        return this.categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return this.categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getPrice() {
        return this.price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return this.updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getBusTeamId() {
        return busTeamId;
    }

    public void setBusTeamId(Long busTeamId) {
        this.busTeamId = busTeamId;
    }

    public String getBusTeamName() {
        return busTeamName;
    }

    public void setBusTeamName(String busTeamName) {
        this.busTeamName = busTeamName;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public String getRequirement() {
        return requirement;
    }

    public void setRequirement(String requirement) {
        this.requirement = requirement;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public BigDecimal getRentSpan() {
        return rentSpan;
    }

    public void setRentSpan(BigDecimal rentSpan) {
        this.rentSpan = rentSpan;
    }
}
